package com.yoome.easyrpc.common.enums;

public enum ErrorCode {

    SERVICE_NOT_FOUND("900001", "service not found"),
    SERVICE_ADDRESS_INVALID("900002", "service address invalid");

    private String code;
    private String msg;

    ErrorCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
